<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>准了星座解读</title>
  <meta name="description" content="">
  <style>
    :root {
      --nav-height: 20px;
      --bar-height: {$h}px;
    }
  </style>
  <link rel="stylesheet" href="/static/natal_chat/css/index.css?v=21">
  <script>
      const app_type = `{$app_type}`;
      const rid = parseInt(`{$data.rid}`);
      const share_url = `{$data.share_url}`;
      window.total = null;
      window.qt = null;
      window.timeout = 10000;
      window.retryParams = null;
      const questionTypeList = JSON.parse(`{:json_encode($data.question)}`);
  </script>
</head>
<body>
<div class="container">
  <div class="header">
    <div class="nav">
      <div class="back" onclick="commonJsToNative('local', 'back');"></div>
      <div class="title">准了星座解读</div>
    </div>
  </div>
  <div class="body">

  </div>
  <div class="pop-box">
    <div class="pop-shadow tap" data-event="closeWindow"></div>
    <div class="pop-content">
      <div class="pop-head">
        <div class="back icon-back tap" data-event="closeWindow"></div>
        <!--问题分类列表-->
        <div class="type-list">
          {foreach $data.question as $k1 => $v1}
          <div class="type-item tap {if $k1 === 0}cur{/if}" data-event="switchQuestionType" data-index="{$k1}">{$v1.title}</div>
          {/foreach}
        </div>
      </div>
      <!--问题列表-->
      {foreach $data.question as $k1 => $v1}
      <div class="question-list {if $k1 === 0}cur{/if}">
        {foreach $v1.q_list as $k2 => $v2}
        <div class="list-item tap" data-event="getQuestionAnswer" data-qid="{$v2.id}" data-type="{$v1.title}">{$v2.title}</div>
        {/foreach}
      </div>
      {/foreach}
    </div>
  </div>
  <!--分享 0：微信；1：微信朋友圈；2：微博；3：qq；4：qq空间-->
  <div class="dialog-content share-choice">
    <div class="mask tap" data-event="closeShare"></div>
    <div class="title">分享到：</div>
    <div class="share-list">
      <div class="list-item tap" data-event="share-invite" data-platform="0">
        <span class="weixin"></span>微信
      </div>
      <div class="list-item tap" data-event="share-invite" data-platform="1">
        <span class="weixin-timeline"></span>朋友圈
      </div>
      <div class="list-item tap" data-event="share-invite" data-platform="2">
        <span class="weibo"></span>新浪微博
      </div>
      <div class="list-item tap" data-event="share-invite" data-platform="3">
        <span class="qq"></span>QQ好友
      </div>
      <div class="list-item tap" data-event="share-invite" data-platform="4">
        <span class="qzone"></span>QQ空间
      </div>
    </div>
  </div>
</div>
<script type="text/javascript" src="/static/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="/static/natal_chat/js/index2.js?v=21"></script>
</body>
</html>
